www.gusucode.com > 落叶冰点万能企业网站内容管理系统 V9.1 > 落叶冰点万能企业网站内容管理系统 V9.1\code\xcomasp\index.asp
<% '************************************************************** ' 新动软网站管理系统 ' 官方网站: http://www.aspcpu.com ' 系统作者: 阮丁远(网名:天 下 程 序) ' Copyright 新动软网站管理系统 版权所有 '************************************************************** %> <% '全局考虑,加on error resume next on error resume next dir_set="..\" nodooooooa=0 if have_a1="" then have_a1="1" '*********************************************** '函数名:JoinChar '作 用:向地址中加入 ? 或 & '参 数:strUrl ----网址 '返回值:加了 ? 或 & 的网址 '*********************************************** function JoinChar(strUrl) if strUrl="" then JoinChar="" exit function end if if InStr(strUrl,"?")<len(strUrl) then if InStr(strUrl,"?")>1 then if InStr(strUrl,"&")<len(strUrl) then JoinChar=strUrl & "&" else JoinChar=strUrl end if else JoinChar=strUrl & "?" end if else JoinChar=strUrl end if end function 'Dim Fy_Url,Fy_a,Fy_x,Fy_Cs(),Fy_Cl,Fy_Ts,Fy_Zx '---定义部份 头------ Fy_Cl = 2 '处理方式:1=提示信息,2=转向页面,3=先提示再转向 Fy_Zx = "/Error.Asp" '出错时转向的页面 '---定义部份 尾------ 'ruandingyuan xiugai Fy_Url=Request.ServerVariables("QUERY_STRING") Fy_a=split(Fy_Url,"&") redim Fy_Cs(ubound(Fy_a)) for Fy_x=0 to ubound(Fy_a) Fy_Cs(Fy_x) = left(Fy_a(Fy_x),instr(Fy_a(Fy_x),"=")-1) Next For Fy_x=0 to ubound(Fy_Cs) If Fy_Cs(Fy_x)<>"" Then If Instr(LCase(Request(Fy_Cs(Fy_x))),"'")<>0 or Instr(LCase(Request(Fy_Cs(Fy_x))),"and ")<>0 or Instr(LCase(Request(Fy_Cs(Fy_x))),"and%20")<>0 or Instr(LCase(Request(Fy_Cs(Fy_x))),"select")<>0 or (Instr(LCase(Request(Fy_Cs(Fy_x))),"update")<>0 and Instr(LCase(Request(Fy_Cs(Fy_x))),"set")<>0) or Instr(LCase(Request(Fy_Cs(Fy_x))),"chr")<>0 or Instr(LCase(Request(Fy_Cs(Fy_x))),"delete%20from")<>0 or (Instr(LCase(Request(Fy_Cs(Fy_x))),"delete")<>0 and Instr(LCase(Request(Fy_Cs(Fy_x))),"from")<>0) or Instr(LCase(Request(Fy_Cs(Fy_x))),";")<>0 or (Instr(LCase(Request(Fy_Cs(Fy_x))),"insert")<>0 and Instr(LCase(Request(Fy_Cs(Fy_x))),"into")<>0) or Instr(LCase(Request(Fy_Cs(Fy_x))),"mid")<>0 Or Instr(LCase(Request(Fy_Cs(Fy_x))),"master.")<>0 Then Select Case Fy_Cl Case "1" Response.Write "<Script Language=JavaScript>alert('出现错误!参数 "&Fy_Cs(Fy_x)&" 的值中包含非法字符串!\n\n 请不要在参数中出现:;,and%20,select%20,update%20,insert%20,delete,chr 等非法字符!);window.close();</Script>" Case "2" Response.Write "<Script Language=JavaScript>location.href='"&Fy_Zx&"'</Script>" Case "3" Response.Write "<Script Language=JavaScript>alert('出现错误!参数 "&Fy_Cs(Fy_x)&"的值中包含非法字符串!\n\n 请不要在参数中出现:;,and%20,select%20,update%20,insert%20,delete%20,chr 等非法字符!);location.href='"&Fy_Zx&"';</Script>" End Select nodooooooa=1 Response.End End If End If Next 'post方式的sql注入,则直接禁止站点外部提交post if lcase(Request.Servervariables("REQUEST_METHOD"))="post" then server_v1=Cstr(Request.ServerVariables("HTTP_REFERER")) server_v2=Cstr(Request.ServerVariables("SERVER_NAME")) if mid(server_v1,8,len(server_v2))<>server_v2 then nodooooooa=1 response.write "<br><br><center><table border=1 cellpadding=20 bordercolor=black bgcolor=#EEEEEE width=450>" response.write "<tr><td style='font:9pt Verdana'>" response.write "你提交的路径有误,禁止从站点外部提交数据,请不要乱该参数!" response.write "</td></tr></table></center>" response.end end if end if nd_web_output_folder_b="xndasp" nd_web_output_folder_qiye_b="xcomasp" 'Dim ConnStr if nodooooooa=0 then ConnStr = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath(dir_set&"data\##%20newDdata8-5-2##.mdb") Set newdsoft_conn_obj = Server.CreateObject("ADODB.Connection") newdsoft_conn_obj.open ConnStr If Err Then Err.Clear Set newdsoft_conn_obj = Nothing Response.Write "数据库连接出错,请检查Conn.asp文件中的数据库参数设置。" Response.End End If end if if request("ruandingyuan_do")="getinfox" then response.write "本站使用新"&""&"动"&"软系统制作,"&"系"&"统"&"作"&"者:"&"阮"&""&"丁"&"远,官网:ww"&"w.as"&"pcpu.com" response.end end if J_True = "True" J_False = "False" J_Now = "Now()" '获得现在的时间 end if '放在这,以免标签循环嵌套导致本函数循环定义而导致asp错误 '放在这,以免标签循环嵌套导致本函数循环定义而导致asp错误 if is_haved_g_fontaa="" then is_haved_g_fontaa="1" Function getFontMode(str, vColor, vFont,vSize) Dim FontStr, tColor Dim ColorStr, arrColor If IsNull(str) Then getFontMode = "" Exit Function End If getFontMode = str FontStr=str Select Case CInt(vFont) Case 1 FontStr = "<b>" & str & "</b>" Case 2 FontStr = "<em>" & str & "</em>" Case 3 FontStr = "<u>" & str & "</u>" Case 4 FontStr = "<b><em>" & str & "</em></b>" Case 5 FontStr = "<b><u>" & str & "</u></b>" Case 6 FontStr = "<em><u>" & str & "</u></em>" Case 7 FontStr = "<b><em><u>" & str & "</u></em></b>" Case Else FontStr = str End Select getFontMode = FontStr If vColor = "" Then Exit Function 'ColorStr = "," & InitTitleColor 'arrColor = Split(ColorStr, ",") 'If vColor > UBound(arrColor) Then Exit Function 'tColor = Trim(arrColor(vColor)) if vColor ="0" then 'ssscolor="<font style='font-size:"&vSize&" px;'>" 'ssscolor2="</font>" else 'ssscolor="<font color="&vColor&" style='font-size:"&vSize&" px;'>" 'ssscolor2="</font>" ssscolor="<span style='color:"&vColor&";'>" ssscolor2="</span>" end if getFontMode = ssscolor& FontStr & ssscolor2 End Function end if '放在这,以免标签循环嵌套导致本函数循环定义而导致asp错误 if haved_atype_a="" then haved_atype_a="1" function get_art_type(in1) get_art_type="" if in1="1" then get_art_type="<font color=red>[图文]</font>" if in1="2" then get_art_type="<font color=red>[组图]</font>" if in1="3" then get_art_type="<font color=red>[新闻]</font>" if in1="4" then get_art_type="<font color=red>[推荐]</font>" if in1="5" then get_art_type="<font color=red>[注意]</font>" if in1="6" then get_art_type="<font color=red>[转载]</font>" if in1="7" then get_art_type="<font color=red>[最新]</font>" end function end if '放在这,以免标签循环嵌套导致本函数循环定义而导致asp错误 function findx_price(grade_id,str) rst2="" if str<>"" then other_params=split(str,"|") for i=0 to ubound(other_params) sss11=split(other_params(i),":") sss11a=sss11(0) sss11b=sss11(1) if cstr(sss11a)=cstr(grade_id) then rst2=sss11b exit for end if next end if if isnumeric(rst2)<>true then rst2="" end if findx_price=rst2 end function '放在这,以免标签循环嵌套导致本函数循环定义而导致asp错误 Function n_RemoveHTML_mdx(strHTML) n_RemoveHTML_md="" on error resume next strHTML=cstr(strHTML&"") Set objRegExp = New Regexp objRegExp.IgnoreCase = True objRegExp.Global = True '取闭合的<> objRegExp.Pattern = "<.+?>" '进行匹配 Set Matches = objRegExp.Execute(strHTML) ' 遍历匹配集合,并替换掉匹配的项目 For Each Match in Matches strHtml=Replace(strHTML,Match.Value,"") Next n_RemoveHTML_mdx=strHTML Set objRegExp = Nothing End Function '放在这,以免标签循环嵌套导致本函数循环定义而导致asp错误 function replace_huanhangz(cont) cont=replace(cont,vbcrlf,"$$sx_aspcodex_huanhang$") cont=replace(cont,chr(10),"$$sx_aspcodex_huanhang$") cont= Replace(cont, CHR(13), "$$sx_aspcodex_huanhang$") cont= Replace(cont, CHR(9), "$$sx_aspcodex_huanhang$") cont=replace(cont,"=","$zzdenghaoaspcpu1$") cont=replace(cont,"&","$zzadnnhaoaspcpu1$") cont=replace(cont,"?","$zzwnnehaoaspcpu1$") replace_huanhangz=cont end function '放在这,以免标签循环嵌套导致本函数循环定义而导致asp错误 Function UrlEncoding_x(DataStr) StrReturn = "" For Si = 1 To Len(DataStr) ThisChr = Mid(DataStr, Si, 1) If Abs(Asc(ThisChr)) < &HFF Then StrReturn = StrReturn & ThisChr Else InnerCode = Asc(ThisChr) If InnerCode < 0 Then InnerCode = InnerCode + &H10000 End If Hight8 = (InnerCode And &HFF00) \ &HFF Low8 = InnerCode And &HFF StrReturn = StrReturn & "%" & Hex(Hight8) & "%" & Hex(Low8) End If Next UrlEncoding_x = StrReturn End Function %><% '************************************************************** ' 新 动 软 网 站 管 理系统 ' 系统作者: 阮 丁 远(网名:天 下 程 序) ' Copyright (C) 新 动 软 网站 管 理 系 统 版 权 所有 '************************************************************** %> <% if have_added_funb="" then have_added_funb=1 isnnn=0 function isnnum(num1) If isnumeric(num1) = 0 Or IsNull(num1) or num1 = "" Then isnnn=0 else isnnn=1 end if end function function isddat(n1) If n1 = "" Or IsNull(n1) or IsDate(n1)=false Then isnnn=0 else isnnn=1 end if end function function isyn(n1) isnnn=9999 If n1 = true or n1=1 Then isnnn=1 end if If n1 = false or n1=0 Then isnnn=0 end if end function function get_rs_value(num1) execute("rsaaaaaaa1="&rsxxx1112&"("&num1&")") get_rs_value=rsaaaaaaa1 end function Function nohtml(ByVal str) Set regEx = New RegExp If IsNull(str) Or Trim(str) = "" Then nohtml = "" Exit Function End If regEx.Pattern = "(\<.[^\<]*\>)" str = regEx.Replace(str, "") regEx.Pattern = "(\<\/[^\<]*\>)" str = regEx.Replace(str, "") regEx.Pattern = "\[NextPage(.*?)\]" '解决“当在文章模块的频道中发布的是图片并使用分页标签[NextPage]或内容开始的前几行就使用分页标签时,一旦使用搜索来搜索该文时,搜索页就会显示分页标签”的问题 str = regEx.Replace(str, "") str = Replace(str, "'", "") str = Replace(str, Chr(34), "") str = Replace(str, vbCrLf, "") str = Trim(str) nohtml = str End Function Public Function ReplaceBadChar(strChar) If strChar = "" Or IsNull(strChar) Then ReplaceBadChar = "" Exit Function End If 'Dim strBadChar, arrBadChar, tempChar, i strBadChar = "',%,^,&,?,(,),<,>,[,],{,},/,\,;,:,exists,select,update,insert,=," & Chr(34) & "," & Chr(0) & "" arrBadChar = Split(strBadChar, ",") tempChar = strChar For i = 0 To UBound(arrBadChar) tempChar = Replace(tempChar, arrBadChar(i), "") Next ReplaceBadChar = tempChar End Function Function GetSubStr(ByVal str, ByVal strlen, bShowPoint) If str = "" Then GetSubStr = "" Exit Function End If 'Dim l, t, c, i, strTemp str = Replace(Replace(Replace(Replace(str, " ", " "), """, Chr(34)), ">", ">"), "<", "<") l = Len(str) t = 0 strTemp = str If strlen = "" Then strlen = 0 Else strlen = CLng(strlen) End If For i = 1 To l c = Abs(Asc(Mid(str, i, 1))) If c > 255 Then t = t + 2 Else t = t + 1 End If If t >= strlen Then strTemp = Left(str, i) Exit For End If Next If strTemp <> str And bShowPoint = True Then strTemp = strTemp & "…" End If GetSubStr = Replace(Replace(Replace(Replace(strTemp, " ", " "), Chr(34), """), ">", ">"), "<", "<") End Function ComeUrl = Trim(Request.ServerVariables("HTTP_REFERER")) Action = Trim(Request("Action")) FoundErr = False ErrMsg = "" If Right(InstallDir, 1) <> "/" Then strInstallDir = InstallDir & "/" Else strInstallDir = InstallDir End If Site_Sn = Replace(Replace(LCase(Request.ServerVariables("SERVER_NAME") & InstallDir), "/", ""), ".", "") '************************************************* '函数名:gotTopic '作 用:截字符串,汉字一个算两个字符,英文算一个字符 '参 数:str ----原字符串 ' strlen ----截取长度 '返回值:截取后的字符串 '************************************************* function gotTopic(str,strlen) if isnull(str) or str="" then gotTopic="" exit function end if 'dim l,t,c, i str=replace(replace(replace(replace(str," "," "),""",chr(34)),">",">"),"<","<") l=len(str) t=0 for i=1 to l c=Abs(Asc(Mid(str,i,1))) if c>255 then t=t+2 else t=t+1 end if if t>=strlen then gotTopic=left(str,i) & "…" exit for else gotTopic=str end if next gotTopic=replace(replace(replace(replace(gotTopic," "," "),chr(34),"""),">",">"),"<","<") end function '************************************************** '函数名:strLength '作 用:求字符串长度。汉字算两个字符,英文算一个字符。 '参 数:str ----要求长度的字符串 '返回值:字符串长度 '************************************************** function strLength(str) 'ON ERROR RESUME NEXT 'dim WINNT_CHINESE WINNT_CHINESE = (len("中国")=2) if WINNT_CHINESE then 'dim l,t,c 'dim i l=len(str) t=l for i=1 to l c=asc(mid(str,i,1)) if c<0 then c=c+65536 if c>255 then t=t+1 end if next strLength=t else strLength=len(str) end if if err.number<>0 then err.clear end function end if %> <html> <head> <title><%'complie-link:label-strat[$$get_title($xx_request_asp$id,1,0,index,0,1)] %> <% tttile="" ctypee="index" cide=0 cnide=request("id") ctide=0 isqy=1 zide=request("zid") if lcase(trim(ctypee))="article" then biaoqqa="[ND_Article_class]" biaoqq="[ND_Article]" biaoqqz="[ND_Article_Special]" end if if lcase(trim(ctypee))="down" then biaoqqa="[ND_down_class]" biaoqq="[ND_down]" biaoqqz="[ND_down_Special]" end if if lcase(trim(ctypee))="picsp" then biaoqqa="[ND_pic_or_sp_class]" biaoqq="[ND_pic_or_sp]" biaoqqz="[ND_pic_or_sp_Special]" end if if lcase(trim(ctypee))="cp" then biaoqqa="[ND_prod_class]" biaoqq="[ND_prod]" biaoqqz="[ND_prod_Special]" end if if trim(ctide)<>"" and trim(cstr(ctide))<>"0" then set rs_kkkk21a=server.createobject("adodb.recordset") sql="select * from "&biaoqq&" where id="&ctide rs_kkkk21a.open sql,newdsoft_conn_obj,1,1 if not rs_kkkk21a.eof then tttile=tttile&" -"&rs_kkkk21a("title") end if end if if trim(zide)<>"" and trim(cstr(zide))<>"0" then set rs_kkkk21ax=server.createobject("adodb.recordset") sql="select * from "&biaoqqz&" where id="&zide rs_kkkk21ax.open sql,newdsoft_conn_obj,1,1 if not rs_kkkk21ax.eof then tttile=tttile&" -"&rs_kkkk21ax("Specialname") end if end if if trim(cide)<>"" and trim(cstr(cide))<>"0" then set rs_kkkk21=server.createobject("adodb.recordset") sql="select * from "&biaoqqa&" where id="&cide rs_kkkk21.open sql,newdsoft_conn_obj,1,1 if not rs_kkkk21.eof then tttile=tttile&" -"&rs_kkkk21("classname") fffidx=split(rs_kkkk21("parent_id_list"),",") for iinn=ubound(fffidx) to 0 step -1 ssixc=clng(fffidx(iinn)) if ssixc<>0 then set rs_kkkk21b=server.createobject("adodb.recordset") sql="select * from "&biaoqqa&" where id="&ssixc rs_kkkk21b.open sql,newdsoft_conn_obj,1,1 tttile=tttile&" -"&rs_kkkk21b("classname") rs_kkkk21b.close set rs_kkkk21b=nothing end if next end if end if if trim(cnide)<>"" and trim(cstr(cnide))<>"0" then set rs_kkkk211=server.createobject("adodb.recordset") sql="select * from ND_channel where sys_content_type_name='"&cnide&"'" rs_kkkk211.open sql,newdsoft_conn_obj,1,1 if not rs_kkkk211.eof then tttile=tttile&" -"&rs_kkkk211("name") end if end if biao2="[ND_sys]" if cstr(isqy)<>"1" then set rs22t=server.CreateObject("adodb.recordset") rs22t.open "select top 1 * from "&biao2&" where type='webname_settings'",newdsoft_conn_obj,1,1 else set rs22t=server.CreateObject("adodb.recordset") rs22t.open "select top 1 * from "&biao2&" where type='webname_settings_qiye'",newdsoft_conn_obj,1,1 end if wwwkeywords="" if not rs22t.eof then sss1a=split(rs22t("data"),"|") wwwname=sss1a(0) wemail=sss1a(1) wwwkeywords=sss1a(2) wwwbuttom=sss1a(3) tttile=tttile&" -"&wwwname end if ttypw=cstr(1) if ttypw="1" then response.write tttile if ttypw="2" then response.write tttile&","&wwwkeywords if ttypw="3" then response.write tttile %><%'complie-link:label-end[$$get_title($xx_request_asp$id,1,0,index,0,1)] %></title> <meta name="keywords" content="<%'complie-link:label-strat[$$get_title($xx_request_asp$id,2,0,index,0,1)] %> <% tttile="" ctypee="index" cide=0 cnide=request("id") ctide=0 isqy=1 zide=request("zid") if lcase(trim(ctypee))="article" then biaoqqa="[ND_Article_class]" biaoqq="[ND_Article]" biaoqqz="[ND_Article_Special]" end if if lcase(trim(ctypee))="down" then biaoqqa="[ND_down_class]" biaoqq="[ND_down]" biaoqqz="[ND_down_Special]" end if if lcase(trim(ctypee))="picsp" then biaoqqa="[ND_pic_or_sp_class]" biaoqq="[ND_pic_or_sp]" biaoqqz="[ND_pic_or_sp_Special]" end if if lcase(trim(ctypee))="cp" then biaoqqa="[ND_prod_class]" biaoqq="[ND_prod]" biaoqqz="[ND_prod_Special]" end if if trim(ctide)<>"" and trim(cstr(ctide))<>"0" then set rs_kkkk21a=server.createobject("adodb.recordset") sql="select * from "&biaoqq&" where id="&ctide rs_kkkk21a.open sql,newdsoft_conn_obj,1,1 if not rs_kkkk21a.eof then tttile=tttile&" -"&rs_kkkk21a("title") end if end if if trim(zide)<>"" and trim(cstr(zide))<>"0" then set rs_kkkk21ax=server.createobject("adodb.recordset") sql="select * from "&biaoqqz&" where id="&zide rs_kkkk21ax.open sql,newdsoft_conn_obj,1,1 if not rs_kkkk21ax.eof then tttile=tttile&" -"&rs_kkkk21ax("Specialname") end if end if if trim(cide)<>"" and trim(cstr(cide))<>"0" then set rs_kkkk21=server.createobject("adodb.recordset") sql="select * from "&biaoqqa&" where id="&cide rs_kkkk21.open sql,newdsoft_conn_obj,1,1 if not rs_kkkk21.eof then tttile=tttile&" -"&rs_kkkk21("classname") fffidx=split(rs_kkkk21("parent_id_list"),",") for iinn=ubound(fffidx) to 0 step -1 ssixc=clng(fffidx(iinn)) if ssixc<>0 then set rs_kkkk21b=server.createobject("adodb.recordset") sql="select * from "&biaoqqa&" where id="&ssixc rs_kkkk21b.open sql,newdsoft_conn_obj,1,1 tttile=tttile&" -"&rs_kkkk21b("classname") rs_kkkk21b.close set rs_kkkk21b=nothing end if next end if end if if trim(cnide)<>"" and trim(cstr(cnide))<>"0" then set rs_kkkk211=server.createobject("adodb.recordset") sql="select * from ND_channel where sys_content_type_name='"&cnide&"'" rs_kkkk211.open sql,newdsoft_conn_obj,1,1 if not rs_kkkk211.eof then tttile=tttile&" -"&rs_kkkk211("name") end if end if biao2="[ND_sys]" if cstr(isqy)<>"1" then set rs22t=server.CreateObject("adodb.recordset") rs22t.open "select top 1 * from "&biao2&" where type='webname_settings'",newdsoft_conn_obj,1,1 else set rs22t=server.CreateObject("adodb.recordset") rs22t.open "select top 1 * from "&biao2&" where type='webname_settings_qiye'",newdsoft_conn_obj,1,1 end if wwwkeywords="" if not rs22t.eof then sss1a=split(rs22t("data"),"|") wwwname=sss1a(0) wemail=sss1a(1) wwwkeywords=sss1a(2) wwwbuttom=sss1a(3) tttile=tttile&" -"&wwwname end if ttypw=cstr(2) if ttypw="1" then response.write tttile if ttypw="2" then response.write tttile&","&wwwkeywords if ttypw="3" then response.write tttile %><%'complie-link:label-end[$$get_title($xx_request_asp$id,2,0,index,0,1)] %>" /> <meta name="description" content="<%'complie-link:label-strat[$$get_title($xx_request_asp$id,3,0,index,0,1)] %> <% tttile="" ctypee="index" cide=0 cnide=request("id") ctide=0 isqy=1 zide=request("zid") if lcase(trim(ctypee))="article" then biaoqqa="[ND_Article_class]" biaoqq="[ND_Article]" biaoqqz="[ND_Article_Special]" end if if lcase(trim(ctypee))="down" then biaoqqa="[ND_down_class]" biaoqq="[ND_down]" biaoqqz="[ND_down_Special]" end if if lcase(trim(ctypee))="picsp" then biaoqqa="[ND_pic_or_sp_class]" biaoqq="[ND_pic_or_sp]" biaoqqz="[ND_pic_or_sp_Special]" end if if lcase(trim(ctypee))="cp" then biaoqqa="[ND_prod_class]" biaoqq="[ND_prod]" biaoqqz="[ND_prod_Special]" end if if trim(ctide)<>"" and trim(cstr(ctide))<>"0" then set rs_kkkk21a=server.createobject("adodb.recordset") sql="select * from "&biaoqq&" where id="&ctide rs_kkkk21a.open sql,newdsoft_conn_obj,1,1 if not rs_kkkk21a.eof then tttile=tttile&" -"&rs_kkkk21a("title") end if end if if trim(zide)<>"" and trim(cstr(zide))<>"0" then set rs_kkkk21ax=server.createobject("adodb.recordset") sql="select * from "&biaoqqz&" where id="&zide rs_kkkk21ax.open sql,newdsoft_conn_obj,1,1 if not rs_kkkk21ax.eof then tttile=tttile&" -"&rs_kkkk21ax("Specialname") end if end if if trim(cide)<>"" and trim(cstr(cide))<>"0" then set rs_kkkk21=server.createobject("adodb.recordset") sql="select * from "&biaoqqa&" where id="&cide rs_kkkk21.open sql,newdsoft_conn_obj,1,1 if not rs_kkkk21.eof then tttile=tttile&" -"&rs_kkkk21("classname") fffidx=split(rs_kkkk21("parent_id_list"),",") for iinn=ubound(fffidx) to 0 step -1 ssixc=clng(fffidx(iinn)) if ssixc<>0 then set rs_kkkk21b=server.createobject("adodb.recordset") sql="select * from "&biaoqqa&" where id="&ssixc rs_kkkk21b.open sql,newdsoft_conn_obj,1,1 tttile=tttile&" -"&rs_kkkk21b("classname") rs_kkkk21b.close set rs_kkkk21b=nothing end if next end if end if if trim(cnide)<>"" and trim(cstr(cnide))<>"0" then set rs_kkkk211=server.createobject("adodb.recordset") sql="select * from ND_channel where sys_content_type_name='"&cnide&"'" rs_kkkk211.open sql,newdsoft_conn_obj,1,1 if not rs_kkkk211.eof then tttile=tttile&" -"&rs_kkkk211("name") end if end if biao2="[ND_sys]" if cstr(isqy)<>"1" then set rs22t=server.CreateObject("adodb.recordset") rs22t.open "select top 1 * from "&biao2&" where type='webname_settings'",newdsoft_conn_obj,1,1 else set rs22t=server.CreateObject("adodb.recordset") rs22t.open "select top 1 * from "&biao2&" where type='webname_settings_qiye'",newdsoft_conn_obj,1,1 end if wwwkeywords="" if not rs22t.eof then sss1a=split(rs22t("data"),"|") wwwname=sss1a(0) wemail=sss1a(1) wwwkeywords=sss1a(2) wwwbuttom=sss1a(3) tttile=tttile&" -"&wwwname end if ttypw=cstr(3) if ttypw="1" then response.write tttile if ttypw="2" then response.write tttile&","&wwwkeywords if ttypw="3" then response.write tttile %><%'complie-link:label-end[$$get_title($xx_request_asp$id,3,0,index,0,1)] %>" /> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <link href="css/ndd.css" rel="stylesheet" type="text/css"> </head> <body><%'complie-link:label-strat[$$nd_qiyez_css()] %><!--nd_complie_linkx_start:[$$nd_qiyez_css()]xx--> <div><style type="text/css"> #globalNavArea { position:relative; width:auto; color:#4096b2; background:url(img/hd_nav_darkSel.gif) repeat-x; clear: both; float: none; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; } #globalNavUL {margin:0px 0px 0px 0px;;padding:0;height:25px;width:100%;background:url(img/hd_nav_unsel.gif) repeat-x;} #globalNavUL li{line-height:14px;z-index:40000;margin:0 0 -1px;padding:0;float:left;position:relative;list-style-type:none;list-style-image:none;list-style-position:outside;} /*#globalNavUL li a{font-weight:bold;color:#3d5b81;display:block;padding:8px 15px 7px 14px;text-decoration:none;background:url(img/hd_nav_sep.gif) no-repeat right 0;} #globalNavUL li a:hover{font-weight:bold;color:#fff;display:block;padding:8px 15px 7px 14px;text-decoration:none;background:url(img/hd_nav_sel.gif) no-repeat right 0;} */ #aaabb {line-height:14px;z-index:40000;margin:0px;padding:0;float:left;position:relative;list-style-type:none;list-style-image:none;list-style-position:outside;} #aaabb a{font-weight:bold;color:#3d5b81;display:block;padding:8px 15px 7px 14px;text-decoration:none;background:url(img/hd_nav_sep.gif) no-repeat right 0;} #aaabb a:hover{font-weight:bold;color:#fff;display:block;padding:8px 15px 7px 14px;text-decoration:none;background:url(img/hd_nav_sel.gif) no-repeat right 0;} #globalNavUL .navdark2 {font-weight:bold;display:block;padding:8px 18px 8px 18px;color:#4096b2;background:url(img/hd_nav_darkSel.gif) repeat-x;} #globalNavUL .navdark {color:#4096b2;background:url(hd_nav_darkSel.gif) repeat-x;} #globalNavUL li.navdark a{font-weight:bold;color:#3d5b81;display:block;padding:8px 14px 7px 13px;text-decoration:none;background:url(img/hd_nav_darkSel.gif) no-repeat right 0;} #globalNavUL li.navdark a:hover{font-weight:bold;color:#fff;display:block;padding:7px 14px 7px 13px;text-decoration:none;background:url(img/hd_nav_sel.gif) no-repeat right 0;} #globalNavUL .selmenulinks {font-weight:bold;color:#fff;display:block;padding:8px 15px 7px 14px;text-decoration:none;background:url(img/hd_nav_sel.gif) no-repeat right 0;} #globalNavmid {clear:both;background:#37aac9 url(hd_sub_bg2.gif) repeat-x;height:26px;border-top:0px solid #33a1be;margin:0 auto;} #globalNavbot {clear:both;background:#d8e7ee url(img/nav_bot.gif) repeat-x;height:6px;border-bottom:1px solid #fff;margin:0 auto;font-size:1px;line-height:0px;} #midbanner, #midbanner a, #midbanner img {line-height:1px;margin:0;padding:0;border:0;} #midbanner {overflow:hidden;} #pageMain, .maincol, .globalMain {position:relative;margin:0px 5px 0px 6px;width:970px;background:#fff;overflow:hidden;} .globalBody {position:relative;margin:0px 5px 0px 6px;width:970px;background:#fff;overflow:hidden;} .mastheadLinks { width: 150px; } .mastheadLinks ul li { text-align: left; line-height: 50%; list-style-type: none; padding-top: 0px; padding-right: 0; padding-bottom: 0px; padding-left: 2px; margin-top: 5px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; }</style></div><!--nd_complie_linkx_end:[$$nd_qiyez_css()]xx--><%'complie-link:label-end[$$nd_qiyez_css()] %> <table width="1003" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="200" height="3" align="center" valign="bottom" bgcolor="CC0000"></td> <td width="734" height="3" align="center" valign="bottom" bgcolor="555F67"></td> </tr> </table> <table width="1003" border="0" align="center" cellpadding="0" cellspacing="0" background="img/bzbg.jpg"> <tr> <td width="241" height="81" align="center"><%'complie-link:label-strat[$$nd_logo()] %><!--nd_complie_linkx_start:[$$nd_logo()]xx--> <div><img height="60" alt="" hspace="4" width="130" vspace="2" border="0" src="img/logo.gif" /></div><!--nd_complie_linkx_end:[$$nd_logo()]xx--><%'complie-link:label-end[$$nd_logo()] %></td> <td width="762" height="81" align="center"><table width="90%" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="right"><img src="img/t1.jpg" width="11" height="10" hspace="3"><font color="999999"> <a href="index.asp">返回首页</a> </font> <img src="img/t3.jpg" width="9" height="10" hspace="3"> <font color="999999"><a onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://');" href="#">设为首页</a> </font></td> </tr> </table></td> </tr> </table> <table width="1003" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td height="34" align="center" valign="middle" background="img/hd_nav_darkSel.gif"><%'complie-link:label-strat[$$nd_menu1a(1,12)] %><!--nd_complie_linkx_start:[$$nd_menu1a(1,12)]xx--> <% '************************************************************** ' 新 动 软 网 站 管 理系统 ' 系统作者: 阮 丁 远(网名:天 下 程 序) ' Copyright (C) 新 动 软 网站 管 理 系 统 版 权 所有 '************************************************************** %> <%if havecssa_addedddxz="" then havecssa_addedddxz="1" %> <%end if%> <table style="margin: 0px" cellspacing="0" cellpadding="0" width="100%" border="0"> <%'complie-link:label-strat[$$include_get_font_str()] %><!--nd_complie_linkx_start:[$$include_get_font_str()]xx--> <% '本函数已放在adminKernel/cmplie_conn.....那个文件里,以免标签循环嵌套导致本函数循环定义而导致asp错误,但不能删本标签 %><!--nd_complie_linkx_end:[$$include_get_font_str()]xx--><%'complie-link:label-end[$$include_get_font_str()] %><% CurrentPage4460932118=replacebadchar(request("page4460932118")) if CurrentPage4460932118="" then CurrentPage4460932118=1 else if not IsNumeric(CurrentPage4460932118) then CurrentPage4460932118=1 else if int(CurrentPage4460932118)<=0 then CurrentPage4460932118=1 else CurrentPage4460932118=replaceBadchar(request("page4460932118")) end if end if end if yyyy1=12 sql="select [ND_channel].id,[ND_channel].lanmu_type,[ND_channel].sys_content_type_name,[ND_channel].is_hidden,[ND_channel].name,[ND_channel].is_link_class,[ND_channel].is_open_use_blank,[ND_channel].orders,[ND_channel].outlink,[ND_channel].titleColor,[ND_channel].titleFont,[ND_channel].channel_file_url,[ND_channel].dyn_channel_file_url,[ND_channel].channel_pic,[ND_channel].is_qiye from [ND_channel] where [ND_channel].is_qiye=1 and is_hidden='0' order by clng(orders) asc" %> <% maxperpage4460932118=9999 xxxx1=clng(9999/yyyy1) if (9999 mod yyyy1)<>0 then xxxx1=xxxx1+1 end if '获取自身文件名 aryxx =split(Request.ServerVariables("SCRIPT_NAME"),"/") fileNamexx = aryxx(ubound(aryxx)) strFileName=fileNamexx set rs_x1=server.CreateObject("adodb.recordset") rs_x1.open sql,newdsoft_conn_obj,1,1 if not rs_x1.eof then rs_x1.pagesize=MaxPerpage4460932118 totalnumber4460932118=rs_x1.recordcount if totalnumber4460932118 mod maxperpage4460932118=0 then MaxPage= totalnumber4460932118 \ MaxPerpage4460932118 else MaxPage= totalnumber4460932118 \ MaxPerpage4460932118+1 end if if int(CurrentPage4460932118)>int(MaxPage) then CurrentPage4460932118=MaxPage else CurrentPage4460932118=CurrentPage4460932118 end if rs_x1.absolutepage=CurrentPage4460932118 for ni4460932118=1 to xxxx1 if rs_x1.eof then exit for %><%%> <tr> <td colspan="2" height="10" align="center"> <div id="globalNavArea"> <ul id="globalNavUL"><%for bj4460932118=1 to yyyy1 if rs_x1.eof then exit for %><% if rs_x1("is_link_class")="1" then aurl=rs_x1("outlink") else aurl=rs_x1("dyn_channel_file_url") end if if rs_x1("is_open_use_blank")="1" then sopbln="_blank" else sopbln="_self" end if %> <% '获取字体的html nd_ret_font=getFontMode(rs_x1("name"),rs_x1("titleColor"),rs_x1("titleFont"),13) %> <% nd_ret_font=nd_ret_font %><% %> <li class="navdark"> <div id="aaabb"><a target="<%=sopbln%>" href="<%=aurl%>"><%=nd_ret_font%></a></div></li><% rs_x1.movenext next %> </ul> </div> </td> </tr><%next %> <% else %> <%=nd_sys_nocontent_msg_x_b%><%nd_sys_nocontent_msg_x_b=""%> <%end if %> <%if 0=1 then %> <tr> <td colspan="7" align="center" height="27" > <% call showpage4460932118(strFileName,totalnumber4460932118,MaxPerPage4460932118,true,true,"个",CurrentPage4460932118) %> </td> </tr> <%end if %></table><!--nd_complie_linkx_end:[$$nd_menu1a(1,12)]xx--><%'complie-link:label-end[$$nd_menu1a(1,12)] %></td> </tr> </table> <table width="1003" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td align="center"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="999" height="246" hspace="0" vspace="0" align="middle"> <param name="movie" value="swf/topbn.swf"> <param name="quality" value="high"><param name="SCALE" value="exactfit"> <embed src="swf/topbn.swf" width="999" height="246" hspace="0" vspace="0" align="middle" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" scale="exactfit"></embed> </object></td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="2" align="left" valign="top" bgcolor="DDDDDD"></td> </tr> </table> <table width="1003" border="0" align="center" cellpadding="0" cellspacing="0"> <tr align="center" valign="top"> <td width="196"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td> </td> </tr> </table> <table width="180" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#dddddd"> <tr> <td height="28" background="img/menubg.jpg"><table width="85%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="61%" align="center"><strong><font color="000000">产品搜索</font></strong> </td> <td width="39%" class="eng">Search</td> </tr> </table></td> </tr> <tr> <td align="center" valign="middle" bgcolor="#FFFFFF"><table width="180" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td height="80" align="center"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="center"> <table width="80%" border="0" align="center" cellpadding="0" cellspacing="0"> <form action="nd_do_prod_search.asp" method="get"> <tr> <td height="5"></td> </tr> <tr> <td height="28" align="right"><input name="data" class="textbox" id="data" style="BORDER-TOP-WIDTH: 1px; PADDING-RIGHT: 1px; PADDING-LEFT: 1px; BORDER-LEFT-WIDTH: 1px; FONT-SIZE: 9pt; BORDER-LEFT-COLOR: #c0c0c0; BORDER-BOTTOM-WIDTH: 1px; BORDER-BOTTOM-COLOR: #c0c0c0; PADDING-BOTTOM: 1px; CURSOR: hand; COLOR: #666666; BORDER-TOP-COLOR: #c0c0c0; PADDING-TOP: 1px; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; HEIGHT: 20px; BACKGROUND-COLOR: #f7f7f7; BORDER-RIGHT-WIDTH: 1px; BORDER-RIGHT-COLOR: #c0c0c0 " value="请输入产品关键字..." size="18" maxlength="64" /></td> </tr> <tr> <td height="28" align="right"> <input name="imageField322" type="image" src="img/sear.gif" width="80" height="21" border="0" /></td> </tr></form> </table> </td> </tr> </table></td> </tr> </table></td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td> </td> </tr> </table> <table width="180" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#dddddd"> <tr> <td height="28" background="img/menubg.jpg"><table width="85%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="61%" align="center"><strong><font color="000000">产品导航</font></strong> </td> <td width="39%" class="eng">Prolist</td> </tr> </table></td> </tr> <tr> <td align="center" valign="middle" bgcolor="#FFFFFF"><table width="180" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td height="120" align="center" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td> </td> </tr> </table> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td align="left"><%'complie-link:label-strat[$$prod_class_tree_z(nd_prod_list.asp,15,"cp_id36",0)] %><!--nd_complie_linkx_start:[$$prod_class_tree_z(nd_prod_list.asp,15,"cp_id36",0)]xx--> <% '如果第一级分类有子分类,点第一级分类时是否先不进入其分类链接,而先展开子分类 ishiddenfirstaa="0" '展开第二级子分类时,展开全部(如3,4,5级),还是只是第二级分类 iskkallaa=cstr(0) biao="[ND_prod_class]" biaog="[ND_userGroup]" biaosp="[ND_prod_Special]" biao2="[ND_prod]" sys_content_type="cp_id36" current_root_id=0 back_call_set_in_which_deepth=-123 function next_cen5025923102(pid_list,deepth) set rs=server.CreateObject("adodb.recordset") pppcid="-123" if pid_list<>"" then ppplista=split(pid_list,",") ppplistaubd=ubound(ppplista)-1 pppcid=ppplista(ppplistaubd) end if rs.open "select * from "&biao&" where ((deepth="&deepth&" and ((parent_id_list like '%"&pid_list&"%') or (parent_id='"&pppcid&"'))) and sys_content_type='"&sys_content_type&"') order by clng(orders) asc",newdsoft_conn_obj,1,1 if pid_list<>"" then lista=split(pid_list,",") numa=ubound(lista) p_id=cstr(lista(numa)) else p_id=0 end if i_stp=0 do while not rs.eof if deepth=0 then current_root_id=rs("id") if deepth=0 then back_call_set_in_which_deepth=-123 pid_list222=rs("parent_id_list")&","&rs("id")&"," deepth222=rs("deepth")+1 set rs2=server.CreateObject("adodb.recordset") rs2.open "select * from "&biao&" where ((deepth="&deepth222&" and ((parent_id_list like '%"&pid_list222&"%') or (parent_id='"&rs("id")&"'))) and sys_content_type='"&sys_content_type&"') order by clng(orders) asc",newdsoft_conn_obj,1,1 if deepth=0 then styleaa="display:inline" else styleaa="display:none" end if if cstr(rs("id"))=cstr(request("cid")) then styleaa="display:inline" back_call_set_in_which_deepth=deepth end if idddddd="_"¤t_root_id&"_"&deepth&"_"&i_stp if rs2.eof then if pid_list<>"" then lista=split(pid_list,",") numa=ubound(lista) p_id=cstr(lista(numa-1)) else p_id=0 end if if p_id=0 then p_id=-1 sedesdsz="&id="&sys_content_type if rs("is_link_class")="1" then suuurl=rs("outlink") else suuurl="nd_prod_list.asp?cid="&rs("id")&sedesdsz end if if rs("is_open_use_blank")="1" then ssss1="_blank" else ssss1="_self" end if hrfffffffa=suuurl response.write "<script language=javascript>"&vbcrlf response.write "var stutas_zi_tree_"&idddddd&"=0;"&vbcrlf response.write "function cpshow_zi_tree"&idddddd&"(funn,nnnn,digui,url){"&vbcrlf response.write "if (digui==1){"&vbcrlf response.write "if(stutas_zi_tree_"&idddddd&"==0){"&vbcrlf response.write "document.getElementById('"&"cptree"&idddddd&"').style.display='inline';"&vbcrlf response.write "stutas_zi_tree_"&idddddd&"=1;}"&vbcrlf response.write "else{"&vbcrlf response.write "document.getElementById('"&"cptree"&idddddd&"').style.display='none';"&vbcrlf response.write "stutas_zi_tree_"&idddddd&"=0;"&vbcrlf response.write "}"&vbcrlf response.write "}"&vbcrlf '递归,展开下一层分类 response.write "if (nnnn==1){"&vbcrlf response.write "var aaaaa;"&vbcrlf response.write "var aaaaav=0;"&vbcrlf response.write "var posa;"&vbcrlf response.write "var posb;"&vbcrlf response.write "var rootid;"&vbcrlf response.write "var deepppp;"&vbcrlf response.write "var nummmmm;"&vbcrlf response.write "for(var ttt=0;ttt<=funn.length-1;ttt++){"&vbcrlf response.write "aaaaa=funn.substring(ttt,ttt+1);"&vbcrlf response.write "if ((aaaaa=='_')&&(aaaaav==0)){aaaaav=aaaaav+1;continue;}"&vbcrlf response.write "if ((aaaaa=='_')&&(aaaaav==1)){aaaaav=aaaaav+1;posa=ttt;continue;}"&vbcrlf response.write "if ((aaaaa=='_')&&(aaaaav==2)){aaaaav=aaaaav+1;posb=ttt;}"&vbcrlf response.write "}"&vbcrlf response.write "rootid=funn.substring(1,posa);"&vbcrlf response.write "deepppp=parseInt(funn.substring(posa+1,posb));"&vbcrlf response.write "nummmmm=parseInt(funn.substring(posb+1,funn.length));"&vbcrlf response.write "var deepi=deepppp+1;"&vbcrlf response.write "var nummi=0;"&vbcrlf response.write "for(nummi=0;nummi<=9999;nummi++){"&vbcrlf response.write "try{"&vbcrlf response.write "eval('cpshow_zi_tree_'+rootid+'_'+deepi+'_'+nummi+'(\''+'_'+rootid+'_'+deepi+'_'+nummi+'\',0,1,\'\')');}"&vbcrlf response.write "catch(e)"&vbcrlf response.write "{"&vbcrlf response.write "if(nummi>22){"&vbcrlf response.write "nummi=9999;break;}"&vbcrlf response.write "}"&vbcrlf response.write "}"&vbcrlf response.write "}"&vbcrlf response.write "if(url!=''){self.location=url;}"&vbcrlf response.write "}"&vbcrlf response.write "</script>"&vbcrlf response.write "<div id='cptree"&idddddd&"' style='"&styleaa&"'>" response.write "<a href='"&hrfffffffa&"' target='"&ssss1&"' class=menu>" %><%for iiiii1=2 to cint(deepth222) if iiiii1=cint(deepth222) then response.write "├" %><% else response.write "│" %><% end if next %><%=left(rs("classname"),15)%><% response.write "</a><br>" response.write "</div>" if not rs.eof then rs.movenext 'back_call_set_in_which_deepth+1 加1是为了展开当前分类的下一级分类 if back_call_set_in_which_deepth<>-123 and ( deepth<=back_call_set_in_which_deepth+1 or iskkallaa="1") then response.write "<script language=javascript>" response.write "document.getElementById('"&"cptree"&idddddd&"').style.display='inline';" response.write "</script>" end if if rs.eof or rs.bof then 'response.write "</level0>" 'call next_cen_class(pid_list222,deepth222) exit function else need_benji_next=1 end if else 'response.write "<level0 id="""&rs("id")&""" parentTypeID=""" 'if deepth=0 then response.write "-1" else response.write p_id 'response.write """ caption="""&rs("ClassName")&""" PRI=""2"" explain="""&rs("id")&""" >"&vbcrlf %><% sedesdsz="&id="&sys_content_type if deepth=0 then if ishiddenfirstaa<>"1" then hrfffffffa="nd_prod_list.asp?cid="&rs("id")&sedesdsz hrfffffffab=hrfffffffa else hrfffffffa="javascript:" hrfffffffab="" end if else hrfffffffa="nd_prod_list.asp?cid="&rs("id")&sedesdsz hrfffffffab=hrfffffffa end if if iskkallaa<>"1" then iskkallaacc="0" else iskkallaacc="1" end if styleaax=" onclick="&chr(34)&"cpshow_zi_tree"&idddddd&"('"&idddddd&"',1,0,'&"&hrfffffffab&"&')"&chr(34)&" " response.write "<script language=javascript>"&vbcrlf response.write "var stutas_zi_tree_"&idddddd&"=0;"&vbcrlf response.write "function cpshow_zi_tree"&idddddd&"(funn,nnnn,digui,url){"&vbcrlf response.write "if (digui==1){"&vbcrlf response.write "if(stutas_zi_tree_"&idddddd&"==0){"&vbcrlf response.write "document.getElementById('"&"cptree"&idddddd&"').style.display='inline';"&vbcrlf response.write "stutas_zi_tree_"&idddddd&"=1;}"&vbcrlf response.write "else{"&vbcrlf response.write "document.getElementById('"&"cptree"&idddddd&"').style.display='none';"&vbcrlf response.write "stutas_zi_tree_"&idddddd&"=0;"&vbcrlf response.write "}"&vbcrlf response.write "}"&vbcrlf '递归,展开下一层分类 response.write "if (nnnn==1){"&vbcrlf response.write "var aaaaa;"&vbcrlf response.write "var aaaaav=0;"&vbcrlf response.write "var posa;"&vbcrlf response.write "var posb;"&vbcrlf response.write "var rootid;"&vbcrlf response.write "var deepppp;"&vbcrlf response.write "var nummmmm;"&vbcrlf response.write "for(var ttt=0;ttt<=funn.length-1;ttt++){"&vbcrlf response.write "aaaaa=funn.substring(ttt,ttt+1);"&vbcrlf response.write "if ((aaaaa=='_')&&(aaaaav==0)){aaaaav=aaaaav+1;continue;}"&vbcrlf response.write "if ((aaaaa=='_')&&(aaaaav==1)){aaaaav=aaaaav+1;posa=ttt;continue;}"&vbcrlf response.write "if ((aaaaa=='_')&&(aaaaav==2)){aaaaav=aaaaav+1;posb=ttt;}"&vbcrlf response.write "}"&vbcrlf response.write "rootid=funn.substring(1,posa);"&vbcrlf response.write "deepppp=parseInt(funn.substring(posa+1,posb));"&vbcrlf response.write "nummmmm=parseInt(funn.substring(posb+1,funn.length));"&vbcrlf response.write "var deepi=deepppp+1;"&vbcrlf response.write "var nummi=0;"&vbcrlf response.write "for(nummi=0;nummi<=9999;nummi++){"&vbcrlf response.write "try{"&vbcrlf response.write "eval('cpshow_zi_tree_'+rootid+'_'+deepi+'_'+nummi+'(\''+'_'+rootid+'_'+deepi+'_'+nummi+'\',"&iskkallaacc&",1,\'\')');}"&vbcrlf response.write "catch(e)"&vbcrlf response.write "{"&vbcrlf response.write "if(nummi>22){"&vbcrlf response.write "nummi=9999;break;}"&vbcrlf response.write "}"&vbcrlf response.write "}"&vbcrlf response.write "}"&vbcrlf response.write "if(url!=''){self.location=url;}"&vbcrlf response.write "}"&vbcrlf response.write "</script>"&vbcrlf sedesdsz="&id="&request("id") if rs("is_link_class")="1" then suuurl=rs("outlink") else suuurl=hrfffffffa end if if rs("is_open_use_blank")="1" then ssss1="_blank" else ssss1="_self" end if '"&styleaax&" 一定不要放在<div id='cptree....里,不然会因为<div的嵌套而导致循环调用onclick response.write "<div id='cptree"&idddddd&"' style='"&styleaa&"' >" response.write "<a href='"&suuurl&"' "&styleaax&" target='"&ssss1&"' class=menu>" %><%for iiiii1=2 to cint(deepth222) if iiiii1=cint(deepth222) then response.write "├" else response.write "│" end if next %><%=left(rs("classname"),15)%><% response.write "</a><br>" call next_cen5025923102(pid_list222,deepth222) response.write "</div>" 'back_call_set_in_which_deepth+1 加1是为了展开当前分类的下一级分类 if back_call_set_in_which_deepth<>-123 and ( deepth<=back_call_set_in_which_deepth+1 or iskkallaa="1") then response.write "<script language=javascript>" response.write "document.getElementById('"&"cptree"&idddddd&"').style.display='inline';" response.write "</script>" end if if not rs.eof then rs.movenext need_benji_next=1 if rs.eof or rs.bof then 'if deepth<>0 then response.write "</level0>" 'call next_cen_class(pid_list222,deepth222) exit function end if end if if need_benji_next=0 then exit do end if need_benji_next=0 i_stp=i_stp+1 loop end function call next_cen5025923102("",0) %><!--nd_complie_linkx_end:[$$prod_class_tree_z(nd_prod_list.asp,15,"cp_id36",0)]xx--><%'complie-link:label-end[$$prod_class_tree_z(nd_prod_list.asp,15,"cp_id36",0)] %></td> </tr> </table></td> </tr> </table></td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td> </td> </tr> </table> </td> <td width="1" bgcolor="dddddd"></td> <td width="569"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="5"></td> </tr> </table> <table width="97%" border=0 align="center" cellpadding=0 cellspacing=5> <tr valign=bottom> <td width="6%"><b><img src="img/M.jpg" width="12" height="13" hspace="5"></b></td> <td width="94%"><b><strong><font color="#FF0000">公司概况 </font></strong>| </b><span class="eng">Company </span></td> <td width="94%" align="right"><a href="nd_info.asp?id=dan_Article_id30"><img src="img/more.gif" width="36" height="17" hspace="10" border="0"></a></td> </tr> <tr> <td colspan="3"> <table height=1 cellspacing=0 cellpadding=0 width="100%" border=0> <tr> <td height=1 background="img/hxu.gif"></td> </tr> </table></td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td> </td> </tr> </table> <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr align="center"> <td width="40%" valign="middle"><img src="img/cf.jpg" width="200" height="135" hspace="5" vspace="5" border="1" align="right"></td> <td width="60%"><table width="97%" border="0" cellspacing="0" cellpadding="0"> <tr> <td valign="top" class="line23"> xxxxxx有限公司是专业从事xxxx研发、生产、销售、服务为一体的多元化企业。位于xxxxx的xxxxx中心工业区,毗邻xxxxxx。<br> 公司xxxxx,以质量求生存、以科技求发展、以服务求信誉、以管理求效益。公司技术力量雄厚,生产设备精良,检验手段完善,从产品研发到售后服务均做到精益求精。产品品质过硬,企业信誉良好。 </td> </tr> </table></td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="10"></td> </tr> </table> <table width="97%" border=0 align="center" cellpadding=0 cellspacing=5> <tr valign=bottom> <td width="6%"><b><img src="img/M.jpg" width="12" height="13" hspace="5"></b></td> <td width="94%"><b><strong><font color="#FF0000">最新动态 </font></strong>| </b><span class="eng">News </span></td> <td width="94%" align="right"><a href="nd_artc_index.asp?id=Article_id35"><img src="img/more.gif" width="36" height="17" hspace="10" border="0"></a></td> </tr> <tr> <td colspan="3"> <table height=1 cellspacing=0 cellpadding=0 width="100%" border=0> <tr> <td height=1 background="img/hxu.gif"></td> </tr> </table></td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td> </td> </tr> </table> <table width="520" height="153" border="0" cellpadding="0" cellspacing="0"> <tr> <td align="center" background="img/newbg.jpg"><%'complie-link:label-strat[$$nd_new_art_list("Article_id35",nd_view_art.asp,5,40,450)] %><!--nd_complie_linkx_start:[$$nd_new_art_list("Article_id35",nd_view_art.asp,5,40,450)]xx--> <% '************************************************************** ' 新 动 软 网 站 管 理系统 ' 系统作者: 阮 丁 远(网名:天 下 程 序) ' Copyright (C) 新 动 软 网站 管 理 系 统 版 权 所有 '************************************************************** %> <table border="0" cellpadding="0" cellspacing="0" width="450"> <%'complie-link:label-strat[$$include_get_art_type()] %><!--nd_complie_linkx_start:[$$include_get_art_type()]xx--> <% '本函数已放在adminKernel/cmplie_conn.....那个文件里,以免标签循环嵌套导致本函数循环定义而导致asp错误,但不能删本标签 %><!--nd_complie_linkx_end:[$$include_get_art_type()]xx--><%'complie-link:label-end[$$include_get_art_type()] %> <%'complie-link:label-strat[$$include_get_font_str()] %><!--nd_complie_linkx_start:[$$include_get_font_str()]xx--> <% '本函数已放在adminKernel/cmplie_conn.....那个文件里,以免标签循环嵌套导致本函数循环定义而导致asp错误,但不能删本标签 %><!--nd_complie_linkx_end:[$$include_get_font_str()]xx--><%'complie-link:label-end[$$include_get_font_str()] %><% CurrentPage5458259560=replacebadchar(request("page5458259560")) if CurrentPage5458259560="" then CurrentPage5458259560=1 else if not IsNumeric(CurrentPage5458259560) then CurrentPage5458259560=1 else if int(CurrentPage5458259560)<=0 then CurrentPage5458259560=1 else CurrentPage5458259560=replaceBadchar(request("page5458259560")) end if end if end if sql="select [ND_Article].id,[ND_Article].title,[ND_Article].sub_title,[ND_Article].classid,[ND_Article].SpecialID,[ND_Article].titleColor,[ND_Article].titleFont,[ND_Article].index_page_pic,[ND_Article].is_outlink,[ND_Article].outlink,[ND_Article].is_new,[ND_Article].is_tuijian,[ND_Article].isTop,[ND_Article].Hits,[ND_Article].DayHits,[ND_Article].MonthHits,[ND_Article].HitsTime,[ND_Article].WriteTime,[ND_Article].username,[ND_Article].out_and_inner_img_list,[ND_Article].UploadImage_list,[ND_Article].is_shenhe from [ND_Article]" %> <% sql=" select * from [ND_Article] where sys_content_type='"&"Article_id35"&"' and is_shenhe='1' order by WriteTime desc,id desc" %> <% maxperpage5458259560=5 '获取自身文件名 aryxx =split(Request.ServerVariables("SCRIPT_NAME"),"/") fileNamexx = aryxx(ubound(aryxx)) strFileName=fileNamexx set rs_x2=server.CreateObject("adodb.recordset") rs_x2.open sql,newdsoft_conn_obj,1,1 if not rs_x2.eof then rs_x2.pagesize=MaxPerpage5458259560 totalnumber5458259560=rs_x2.recordcount if totalnumber5458259560 mod maxperpage5458259560=0 then MaxPage= totalnumber5458259560 \ MaxPerpage5458259560 else MaxPage= totalnumber5458259560 \ MaxPerpage5458259560+1 end if if int(CurrentPage5458259560)>int(MaxPage) then CurrentPage5458259560=MaxPage else CurrentPage5458259560=CurrentPage5458259560 end if rs_x2.absolutepage=CurrentPage5458259560 for ni5458259560=1 to maxperpage5458259560 if rs_x2.eof then exit for %><% set Rs3311=server.CreateObject("adodb.recordset") sql="select * from [ND_Article_class] where id="&rs_x2("classid")&"" Rs3311.open sql,newdsoft_conn_obj,1,1 clssstr=get_art_type(rs_x2("biaozi")) %> <% '获取字体的html nd_ret_font=getFontMode(gotTopic(rs_x2("title"),40),rs_x2("titleColor"),rs_x2("titleFont"),14) %> <% if rs_x2("is_outlink")="1" then suuurl=rs_x2("outlink") else suuurl="nd_view_art.asp?arid="&rs_x2("id")&"&cid="&rs_x2("classid") end if if rs_x2("istop")="1" then dcdcds="<font color=#ff0000>[顶]</font>" else dcdcds="" end if %><% %> <tr><td> <table style="height: 26px" width="100%" border="0"> <tbody> <tr> <td width="80%">·<%=dcdcds%><%=clssstr%> <a target="_blank" href="<%=suuurl%>"><%=nd_ret_font%></a></td> <td width="20%"><%=month(rs_x2("WriteTime"))%>-<%=day(rs_x2("WriteTime"))%></td> </tr> </tbody> </table></td></tr><% rs_x2.movenext next %> <% else %> <%=nd_sys_nocontent_msg_x_a%><%nd_sys_nocontent_msg_x_a=""%> <%end if%> <%if 0=1 then %> <tr> <td colspan="7" align="center" height="27" > <% call showpage5458259560(strFileName,totalnumber5458259560,MaxPerPage5458259560,true,true,"个",CurrentPage5458259560) %> </td> </tr> <%end if %></table><!--nd_complie_linkx_end:[$$nd_new_art_list("Article_id35",nd_view_art.asp,5,40,450)]xx--><%'complie-link:label-end[$$nd_new_art_list("Article_id35",nd_view_art.asp,5,40,450)] %></td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td> </td> </tr> </table> <table width="97%" border=0 align="center" cellpadding=0 cellspacing=5> <tr valign=bottom> <td width="6%"><b><img src="img/M.jpg" width="12" height="13" hspace="5"></b></td> <td width="94%"><b><strong><font color="#FF0000">推荐产品 </font></strong>| </b><span class="eng">Product </span></td> <td width="94%" align="right"><a href="nd_cp_index.asp?id=cp_id36"><img src="img/more.gif" width="36" height="17" hspace="10" border="0"></a></td> </tr> <tr> <td colspan="3"> <table height=1 cellspacing=0 cellpadding=0 width="100%" border=0> <tr> <td height=1 background="img/hxu.gif"></td> </tr> </table></td> </tr> </table> <TABLE width=95% border=0 align=center cellPadding=0 cellSpacing=0> <TR> <TD><DIV id=demo style="OVERFLOW: hidden; WIDTH: 100%; COLOR: #ffffff"> <TABLE width="99%" border=0 align=left cellPadding=0 cellSpacing=0 cellspace="0"> <TR align="center"> <TD vAlign=middle id=demo1><%'complie-link:label-strat[$$prod_tj_gd("",120,120,470,15,4,4,nd_view_prod.asp,1,"cp_id36",2,160)] %><!--nd_complie_linkx_start:[$$prod_tj_gd("",120,120,470,15,4,4,nd_view_prod.asp,1,"cp_id36",2,160)]xx--> <% '************************************************************** ' 新 动 软 网 站 管 理系统 ' 系统作者: 阮 丁 远(网名:天 下 程 序) ' Copyright (C) 新 动 软 网站 管 理 系 统 版 权 所有 '************************************************************** %> <% wwwll=120+7 hhhll=120+7 hhhllk=120+7+15 hhhllk2=120+7+15+15 wwwll2=120+7+10 %> <style type="text/css"> <!-- .cpcp {width:120 px;height:120 px;} .cpcpb {width:<%=wwwll%> px;height:<%=hhhll%> px;} .cpcpbx {width:<%=wwwll%> px;height:<%=hhhllk%> px;} .cpcpbxx {width:<%=wwwll2%> px;height:<%=hhhllk2%> px;} .nolnk a{text-decoration: none;} --></style> <!-- MSClass (Class Of Marquee Scroll通用不间断滚动JS封装类) Ver 1.65 制作时间:2006-08-29 (Ver 0.5) 发布时间:2006-08-31 (Ver 0.8) 更新时间:2007-12-28 (Ver 1.65) 更新说明: + 加入功能 * 修正、完善 1.65.071228 * 横向、纵向滚动格式调整 (解决横向滚动换行的问题,无需特殊设置) * 彻底解决由于IE问题导致上下滚动页面留白的问题 (本次更新主要解决此问题,感谢天上的书生参与测试) 1.6.070131 + 禁止鼠标控制暂停或继续 (将第9个参数设置为-1或者动态赋值将ScrollSetp设置为-1) + 判断是否可以滚动 (若内容区域小于显示区域,则自动取消滚动) + 跳过初始化错误 (避免引起其它滚动的停止) + 默认值 (除容器ID必选外,其他参数均可根据情况进行选择设置) + 参数动态赋值 (方向可用英文表示top|up|bottom|down|left|right,使其更直观、方便) * 文字滚动不准确 (本次更新主要目的解决此Bug,感谢周珺参与测试) 1.4.061211 + 鼠标悬停改变滚动方向 (鼠标悬停控制左右滚动) * 由于文档下载过慢而导致获取的高度/宽度不准确 * 浏览器兼容问题 (IE、FF、Opera、NS、MYIE) 1.2.060922 + 指定范围间歇滚动 * 程序调整 * 连续间歇滚动停止的错误 1.0.060901 + 向下、向右滚动 + 开始等待时间 + 连续滚动 * 调整时间单位 * 滚动误差 * 随机死循环 * 加强性能 * 程序优化 0.8.060829 翻屏不间断向上、向左滚动 演示地址:http://www.popub.net/script/MSClass.html 下载地址:http://www.popub.net/script/MSClass.js 应用说明:页面包含<script type="text/javascript" src="MSClass.js"></script> 创建实例: //参数直接赋值法 new Marquee("marquee") new Marquee("marquee","top") ...... new Marquee("marquee",0,1,760,52) new Marquee("marquee","top",1,760,52,50,5000) ...... new Marquee("marquee",0,1,760,104,50,5000,3000,52) new Marquee("marquee",null,null,760,104,null,5000,null,-1) //参数动态赋值法 var marquee1 = new Marquee("marquee") *此参数必选 marquee1.Direction = "top"; 或者 marquee1.Direction = 0; marquee1.Step = 1; marquee1.Width = 760; marquee1.Height = 52; marquee1.Timer = 50; marquee1.DelayTime = 5000; marquee1.WaitTime = 3000; marquee1.ScrollStep = 52; marquee1.Start(); 参数说明: ID "marquee" 容器ID (必选) Direction (0) 滚动方向 (可选,默认为0向上滚动) 可设置的值包括:0,1,2,3,"top","bottom","left","right" (0向上 1向下 2向左 3向右) Step (1) 滚动的步长 (可选,默认值为2,数值越大,滚动越快) Width (760) 容器可视宽度 (可选,默认值为容器初始设置的宽度) Height (52) 容器可视高度 (可选,默认值为容器初始设置的高度) Timer (50) 定时器 (可选,默认值为30,数值越小,滚动的速度越快,1000=1秒,建议不小于20) DelayTime (5000) 间歇停顿延迟时间(可选,默认为0不停顿,1000=1秒) WaitTime (3000) 开始时的等待时间(可选,默认或0为不等待,1000=1秒) ScrollStep (52) 间歇滚动间距 (可选,默认为翻屏宽/高度,该数值与延迟均为0则为鼠标悬停控制,-1禁止鼠标控制) 使用建议: 1、建议直接赋予容器的显示区域的宽度和高度,如(<div id="marquee" style="width:760px;height:52px;">......</div>) 2、建议为容器添加样式overflow = auto,如(<div id="marquee" style="width:760px;height:52px;overflow:auto;">......</div>) 3、为了更准确的获取滚动区域的宽度和高度,请尽可能将各滚动单位直接赋予正确宽高度 4、对于TABLE标记的横向滚动,需要对TABLE添加样式display = inline,如(<div id="marquee" style="width:760px;height:52px;overflow:auto;"><table style="display:inline">......</table></div>) 5、对于翻屏滚动或间歇滚动,要注意各滚动单位间的间距,同时需要对容器的可视高度和可视宽度做好准确的设置,对于各滚动单位间的间距可以通过设置行间距或者单元格的高宽度来进行调整 6、对于LI自动换行的问题暂时没有更好的解决办法,建议将其转换成表格(TABLE)的形式来达到同等的效果 7、针对横向滚动的文字段落,如果最末端是以空格" "结束的,请将空格" "转换成" " 8、鼠标悬停滚动思想源自Flash,所以有一定的局限性(容器内仅允许用图片<img>或者带链接的图片<a><img></a>的形式,并需要禁止其自动换行) 感 谢: 天上的书生(QQ:30370740) (IE页面留白的Bug) 2007/12/22 周珺 zhoujun#yuchengtech.com (文字滚动跳行的bug) 2007/01/31 自本程序发布以来,收到不少朋友的邮件,提出了很多意见和建议,感谢大家的支持! \***程序制作/版权所有:崔永祥(333) E-Mail:zhadan007@21cn.com 网址:http://www.popub.net***/ --> <script> function Marquee() { this.ID = document.getElementById(arguments[0]); if(!this.ID) { alert("您要设置的\"" + arguments[0] + "\"初始化错误\r\n请检查标签ID设置是否正确!"); this.ID = -1; return; } this.Direction = this.Width = this.Height = this.DelayTime = this.WaitTime = this.CTL = this.StartID = this.Stop = this.MouseOver = 0; this.Step = 1; this.Timer = 30; this.DirectionArray = {"top":0 , "up":0 , "bottom":1 , "down":1 , "left":2 , "right":3}; if(typeof arguments[1] == "number" || typeof arguments[1] == "string")this.Direction = arguments[1]; if(typeof arguments[2] == "number")this.Step = arguments[2]; if(typeof arguments[3] == "number")this.Width = arguments[3]; if(typeof arguments[4] == "number")this.Height = arguments[4]; if(typeof arguments[5] == "number")this.Timer = arguments[5]; if(typeof arguments[6] == "number")this.DelayTime = arguments[6]; if(typeof arguments[7] == "number")this.WaitTime = arguments[7]; if(typeof arguments[8] == "number")this.ScrollStep = arguments[8]; this.ID.style.overflow = this.ID.style.overflowX = this.ID.style.overflowY = "hidden"; this.ID.noWrap = true; this.IsNotOpera = (navigator.userAgent.toLowerCase().indexOf("opera") == -1); if(arguments.length >= 7)this.Start(); } Marquee.prototype.Start = function() { if(this.ID == -1)return; if(this.WaitTime < 800)this.WaitTime = 800; if(this.Timer < 20)this.Timer = 20; if(this.Width == 0)this.Width = parseInt(this.ID.style.width); if(this.Height == 0)this.Height = parseInt(this.ID.style.height); if(typeof this.Direction == "string")this.Direction = this.DirectionArray[this.Direction.toString().toLowerCase()]; this.HalfWidth = Math.round(this.Width / 2); this.HalfHeight = Math.round(this.Height / 2); this.BakStep = this.Step; this.ID.style.width = this.Width + "px"; this.ID.style.height = this.Height + "px"; if(typeof this.ScrollStep != "number")this.ScrollStep = this.Direction > 1 ? this.Width : this.Height; var templateLeft = "<table cellspacing='0' cellpadding='0' style='border-collapse:collapse;display:inline;'><tr><td noWrap=true style='white-space: nowrap;word-break:keep-all;'>MSCLASS_TEMP_HTML</td><td noWrap=true style='white-space: nowrap;word-break:keep-all;'>MSCLASS_TEMP_HTML</td></tr></table>"; var templateTop = "<table cellspacing='0' cellpadding='0' style='border-collapse:collapse;'><tr><td>MSCLASS_TEMP_HTML</td></tr><tr><td>MSCLASS_TEMP_HTML</td></tr></table>"; var msobj = this; msobj.tempHTML = msobj.ID.innerHTML; if(msobj.Direction <= 1) { msobj.ID.innerHTML = templateTop.replace(/MSCLASS_TEMP_HTML/g,msobj.ID.innerHTML); } else { if(msobj.ScrollStep == 0 && msobj.DelayTime == 0) { msobj.ID.innerHTML += msobj.ID.innerHTML; } else { msobj.ID.innerHTML = templateLeft.replace(/MSCLASS_TEMP_HTML/g,msobj.ID.innerHTML); } } var timer = this.Timer; var delaytime = this.DelayTime; var waittime = this.WaitTime; msobj.StartID = function(){msobj.Scroll()} msobj.Continue = function() { if(msobj.MouseOver == 1) { setTimeout(msobj.Continue,delaytime); } else { clearInterval(msobj.TimerID); msobj.CTL = msobj.Stop = 0; msobj.TimerID = setInterval(msobj.StartID,timer); } } msobj.Pause = function() { msobj.Stop = 1; clearInterval(msobj.TimerID); setTimeout(msobj.Continue,delaytime); } msobj.Begin = function() { msobj.ClientScroll = msobj.Direction > 1 ? msobj.ID.scrollWidth / 2 : msobj.ID.scrollHeight / 2; if((msobj.Direction <= 1 && msobj.ClientScroll <= msobj.Height + msobj.Step) || (msobj.Direction > 1 && msobj.ClientScroll <= msobj.Width + msobj.Step)) { msobj.ID.innerHTML = msobj.tempHTML; delete(msobj.tempHTML); return; } delete(msobj.tempHTML); msobj.TimerID = setInterval(msobj.StartID,timer); if(msobj.ScrollStep < 0)return; msobj.ID.onmousemove = function(event) { if(msobj.ScrollStep == 0 && msobj.Direction > 1) { var event = event || window.event; if(window.event) { if(msobj.IsNotOpera) { msobj.EventLeft = event.srcElement.id == msobj.ID.id ? event.offsetX - msobj.ID.scrollLeft : event.srcElement.offsetLeft - msobj.ID.scrollLeft + event.offsetX; } else { msobj.ScrollStep = null; return; } } else { msobj.EventLeft = event.layerX - msobj.ID.scrollLeft; } msobj.Direction = msobj.EventLeft > msobj.HalfWidth ? 3 : 2; msobj.AbsCenter = Math.abs(msobj.HalfWidth - msobj.EventLeft); msobj.Step = Math.round(msobj.AbsCenter * (msobj.BakStep*2) / msobj.HalfWidth); } } msobj.ID.onmouseover = function() { if(msobj.ScrollStep == 0)return; msobj.MouseOver = 1; clearInterval(msobj.TimerID); } msobj.ID.onmouseout = function() { if(msobj.ScrollStep == 0) { if(msobj.Step == 0)msobj.Step = 1; return; } msobj.MouseOver = 0; if(msobj.Stop == 0) { clearInterval(msobj.TimerID); msobj.TimerID = setInterval(msobj.StartID,timer); } } } setTimeout(msobj.Begin,waittime); } Marquee.prototype.Scroll = function() { switch(this.Direction) { case 0: this.CTL += this.Step; if(this.CTL >= this.ScrollStep && this.DelayTime > 0) { this.ID.scrollTop += this.ScrollStep + this.Step - this.CTL; this.Pause(); return; } else { if(this.ID.scrollTop >= this.ClientScroll) { this.ID.scrollTop -= this.ClientScroll; } this.ID.scrollTop += this.Step; } break; case 1: this.CTL += this.Step; if(this.CTL >= this.ScrollStep && this.DelayTime > 0) { this.ID.scrollTop -= this.ScrollStep + this.Step - this.CTL; this.Pause(); return; } else { if(this.ID.scrollTop <= 0) { this.ID.scrollTop += this.ClientScroll; } this.ID.scrollTop -= this.Step; } break; case 2: this.CTL += this.Step; if(this.CTL >= this.ScrollStep && this.DelayTime > 0) { this.ID.scrollLeft += this.ScrollStep + this.Step - this.CTL; this.Pause(); return; } else { if(this.ID.scrollLeft >= this.ClientScroll) { this.ID.scrollLeft -= this.ClientScroll; } this.ID.scrollLeft += this.Step; } break; case 3: this.CTL += this.Step; if(this.CTL >= this.ScrollStep && this.DelayTime > 0) { this.ID.scrollLeft -= this.ScrollStep + this.Step - this.CTL; this.Pause(); return; } else { if(this.ID.scrollLeft <= 0) { this.ID.scrollLeft += this.ClientScroll; } this.ID.scrollLeft -= this.Step; } break; } } </script> <div id="plccccx"> <table border="0" cellpadding="0" cellspacing="0" width="470" style="word-break:break-all"><% CurrentPage4075229602=replacebadchar(request("page4075229602")) if CurrentPage4075229602="" then CurrentPage4075229602=1 else if not IsNumeric(CurrentPage4075229602) then CurrentPage4075229602=1 else if int(CurrentPage4075229602)<=0 then CurrentPage4075229602=1 else CurrentPage4075229602=replaceBadchar(request("page4075229602")) end if end if end if yyyy1=4 sql="select [ND_prod].id,[ND_prod].sys_content_type,[ND_prod].title,[ND_prod].SpecialID,[ND_prod].classid,[ND_prod].small_pic,[ND_prod].big_pic,[ND_prod].content,[ND_prod].is_new,[ND_prod].is_tuijian,[ND_prod].Hits,[ND_prod].WriteTime,[ND_prod].username,[ND_prod].out_and_inner_img_list,[ND_prod].Uploadfile_list,[ND_prod].UploadImage_list,[ND_prod].orders,[ND_prod].is_show_buy,[ND_prod].liulang_dengji_group_id,[ND_prod].dianshuo_to_look,[ND_prod].is_shenhe,[ND_prod].is_can_pinlun,[ND_prod].is_auto_fenye,[ND_prod].xiangguan_keywords_list,[ND_prod].is_outlink,[ND_prod].outlink from [ND_prod]" %> <% cccccccid="" sql2="" biao="[ND_prod_class]" isziii=cstr(1) if isziii<>"0" then if cccccccid<>"all" and cccccccid<>"" then set Rs33=server.CreateObject("adodb.recordset") sql="select cstr(parent_id_list) from "&biao&" where id="&cccccccid Rs33.open sql,newdsoft_conn_obj,1,1 sspa=rs33(0)&","&cccccccid&"," sql2=" and (classid='"&cccccccid&"' or classid in (select cstr(id) from "&biao&" where parent_id_list like '%"&sspa&"%' ) or classid in (select cstr(id) from "&biao&" where parent_id='"&cccccccid&"') ) " end if else if cccccccid<>"all" and cccccccid<>"" then sql2=" and (classid='"&cccccccid&"') " end if end if sql="select * from [ND_prod] where is_shenhe='1' and is_tuijian='1' and sys_content_type='"&"cp_id36"&"' "&sql2&" order by clng(orders) asc,id desc" %> <% maxperpage4075229602=4 xxxx1=clng(4/yyyy1) if (4 mod yyyy1)<>0 then xxxx1=xxxx1+1 end if '获取自身文件名 aryxx =split(Request.ServerVariables("SCRIPT_NAME"),"/") fileNamexx = aryxx(ubound(aryxx)) strFileName=fileNamexx set rszcpcpxx=server.CreateObject("adodb.recordset") rszcpcpxx.open sql,newdsoft_conn_obj,1,1 if not rszcpcpxx.eof then rszcpcpxx.pagesize=MaxPerpage4075229602 totalnumber4075229602=rszcpcpxx.recordcount if totalnumber4075229602 mod maxperpage4075229602=0 then MaxPage= totalnumber4075229602 \ MaxPerpage4075229602 else MaxPage= totalnumber4075229602 \ MaxPerpage4075229602+1 end if if int(CurrentPage4075229602)>int(MaxPage) then CurrentPage4075229602=MaxPage else CurrentPage4075229602=CurrentPage4075229602 end if rszcpcpxx.absolutepage=CurrentPage4075229602 for ni4075229602=1 to xxxx1 if rszcpcpxx.eof then exit for %><%%><tr><%for bj4075229602=1 to yyyy1 if rszcpcpxx.eof then exit for %><% %><td> <% sedesdsz="&id="&request("id")&"&cid="&rszcpcpxx("classid") if rszcpcpxx("is_outlink")="1" then suuurl=rszcpcpxx("outlink") else suuurl="nd_view_prod.asp?cpid="&rszcpcpxx("id")&sedesdsz end if %> <table class="cpcpbxx" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td valign="middle" align="center"> <table class="cpcpbx" cellspacing="1" cellpadding="1" bgcolor="#cccccc" border="0"> <tbody> <tr> <% sedesdsz="&id="&request("id") %> <td class="cpcpb" valign="middle" align="center" bgcolor="#ffffff"><a target="_self" href="<%=suuurl%>"><img class="cpcp" alt="" border="0" src="<%=rszcpcpxx("small_pic")%>" /></a></td> </tr> <tr> <td class="nolnk" style="word-break: break-all" valign="middle" align="center" bgcolor="#ffffff" height="15"><a target="_self" href="<%=suuurl%>"><%=gotTopic(rszcpcpxx("title"),15)%></a></td> </tr> </tbody> </table> </td> </tr> </tbody> </table></td><% rszcpcpxx.movenext next %></tr><%next %> <% else %> <%=nd_sys_nocontent_msg_x_b%><%nd_sys_nocontent_msg_x_b=""%> <%end if %> <%if 0=1 then %> <tr> <td colspan="7" align="center" height="27" > <% call showpage4075229602(strFileName,totalnumber4075229602,MaxPerPage4075229602,true,true,"个",CurrentPage4075229602) %> </td> </tr> <%end if %></table></div> <script> <% ssdrt="right" if cstr(2)="1" then ssdrt="top" if cstr(2)="2" then ssdrt="right" wwwdsss=cstr(470) hhhdsss=cstr(160) %> var marquee1 = new Marquee("plccccx"); marquee1.Direction = "<%=ssdrt%>"; marquee1.Step = 3; marquee1.Width = <%=wwwdsss%>; marquee1.Height = <%=hhhdsss%>; marquee1.Timer = 10; marquee1.DelayTime = 2000; marquee1.WaitTime = 300; marquee1.ScrollStep = 390; marquee1.Start(); //--> </script><!--nd_complie_linkx_end:[$$prod_tj_gd("",120,120,470,15,4,4,nd_view_prod.asp,1,"cp_id36",2,160)]xx--><%'complie-link:label-end[$$prod_tj_gd("",120,120,470,15,4,4,nd_view_prod.asp,1,"cp_id36",2,160)] %></TD> <TD vAlign=top id=demo2></TD> </TR> </TABLE> </DIV> </TD> </TR> <TR> <TD> </TD> </TR> </TABLE></td> <td width="1" bgcolor="dddddd"></td> <td width="238"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="5"></td> </tr> </table> <table width="220" border="0" cellpadding="0" cellspacing="1" bgcolor="#dddddd"> <tr> <td height="28" background="img/menubg.jpg"><table width="85%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="47%" height="28" align="center"><strong><font color="000000">展示</font></strong> </td> <td width="53%" class="eng">New Product</td> </tr> </table></td> </tr> <tr> <td height="210" align="center" valign="middle" bgcolor="#FFFFFF"><%'complie-link:label-strat[$$nd_piclunbo(200,200,0,1)] %><!--nd_complie_linkx_start:[$$nd_piclunbo(200,200,0,1)]xx--> <% '************************************************************** ' 新 动 软 网 站 管 理系统 ' 系统作者: 阮 丁 远(网名:天 下 程 序) ' Copyright (C) 新 动 软 网站 管 理 系 统 版 权 所有 '************************************************************** %> <% imgUrl="" imgtitle="" imgLink="" %><% CurrentPage7671476219=replacebadchar(request("page7671476219")) if CurrentPage7671476219="" then CurrentPage7671476219=1 else if not IsNumeric(CurrentPage7671476219) then CurrentPage7671476219=1 else if int(CurrentPage7671476219)<=0 then CurrentPage7671476219=1 else CurrentPage7671476219=replaceBadchar(request("page7671476219")) end if end if end if sql="select [ND_piclunbo].id,[ND_piclunbo].title,[ND_piclunbo].connect,[ND_piclunbo].time,[ND_piclunbo].adder,[ND_piclunbo].hits,[ND_piclunbo].newid,[ND_piclunbo].class,[ND_piclunbo].di2_class,[ND_piclunbo].di3_class,[ND_piclunbo].smallpic,[ND_piclunbo].orders from [ND_piclunbo] order by id desc" %> <% maxperpage7671476219=20 '获取自身文件名 aryxx =split(Request.ServerVariables("SCRIPT_NAME"),"/") fileNamexx = aryxx(ubound(aryxx)) strFileName=fileNamexx set rs_x_piclunb=server.CreateObject("adodb.recordset") rs_x_piclunb.open sql,newdsoft_conn_obj,1,1 if not rs_x_piclunb.eof then rs_x_piclunb.pagesize=MaxPerpage7671476219 totalnumber7671476219=rs_x_piclunb.recordcount if totalnumber7671476219 mod maxperpage7671476219=0 then MaxPage= totalnumber7671476219 \ MaxPerpage7671476219 else MaxPage= totalnumber7671476219 \ MaxPerpage7671476219+1 end if if int(CurrentPage7671476219)>int(MaxPage) then CurrentPage7671476219=MaxPage else CurrentPage7671476219=CurrentPage7671476219 end if rs_x_piclunb.absolutepage=CurrentPage7671476219 for ni7671476219=1 to maxperpage7671476219 if rs_x_piclunb.eof then exit for %><% %><% imgUrl=imgUrl&rs_x_piclunb("smallpic")&"|" imgtitle=imgtitle&rs_x_piclunb("title")&"|" imgLink=imgLink&rs_x_piclunb("connect")&"|" %> <%=""%><% rs_x_piclunb.movenext next %> <% else %> <%=nd_sys_nocontent_msg_x_a%><%nd_sys_nocontent_msg_x_a=""%> <%end if%> <%if 0=1 then %> <tr> <td colspan="7" align="center" height="27" > <% call showpage7671476219(strFileName,totalnumber7671476219,MaxPerPage7671476219,true,true,"个",CurrentPage7671476219) %> </td> </tr> <%end if %><% imgUrl=left(imgUrl,len(imgUrl)-1) imgtitle=left(imgtitle,len(imgtitle)-1) imgLink=left(imgLink,len(imgLink)-1) azstr="" if isnumeric(1)=true then for iaaazx=2 to clng(1) azstr=azstr&"../" next end if %> <!--焦点图开始--> <script src="../<%=azstr%>inc/pixviewerplay.js" type=text/javascript></script> <DIV id=focusViwer align=center><a href="#"><img src="" alt="" width="200" height="150" border="0"></a><br> loading..</DIV> <script type=text/javascript> <!-- var focus_width=<%=200%>; var focus_height=<%=200%>; <% if cstr(0)="1" then%> var text_height=20; <%else%> var text_height=0; <%end if%> var swf_height = focus_height+text_height; var pics='<%=imgUrl%>'; var links='<%=imgLink%>'; var texts='<%=imgtitle%>'; var FocusFlash = new sinaFlash("../<%=azstr%>inc/pixviewer.swf", "focusflash", focus_width, swf_height, "3", "", false, "High"); FocusFlash.addParam("allowScriptAccess", "sameDomain"); FocusFlash.addParam("menu", "false"); FocusFlash.addParam("wmode", "opaque"); FocusFlash.addVariable("pics", pics); FocusFlash.addVariable("links", links); FocusFlash.addVariable("texts", texts); FocusFlash.addVariable("borderwidth", focus_width); FocusFlash.addVariable("borderheight", focus_height); FocusFlash.addVariable("textheight", text_height); FocusFlash.write("focusViwer"); //--> </script> <!--焦点图结束--> <!--nd_complie_linkx_end:[$$nd_piclunbo(200,200,0,1)]xx--><%'complie-link:label-end[$$nd_piclunbo(200,200,0,1)] %> </td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td> </td> </tr> </table> <table width="220" border="0" cellpadding="0" cellspacing="1" bgcolor="#dddddd"> <tr> <td height="28" background="img/menubg.jpg"><table width="85%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="47%" height="28" align="center"><strong><font color="000000">邮箱登录</font></strong> </td> <td width="53%" class="eng">Mail Login</td> </tr> </table></td> </tr> <tr> <td height="120" align="center" valign="middle" bgcolor="#FFFFFF"><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr align="center"> <td width="31%" height="30" align="right">用户名:</td> <td width="69%"><font color="#ff0000"> <INPUT name=usernameshow2222 class=textbox id=usernameshow2223 style="BORDER-TOP-WIDTH: 1px; PADDING-RIGHT: 1px; PADDING-LEFT: 1px; BORDER-LEFT-WIDTH: 1px; FONT-SIZE: 9pt; BORDER-LEFT-COLOR: #c0c0c0; BORDER-BOTTOM-WIDTH: 1px; BORDER-BOTTOM-COLOR: #c0c0c0; PADDING-BOTTOM: 1px; CURSOR: hand; COLOR: #000000; BORDER-TOP-COLOR: #c0c0c0; PADDING-TOP: 1px; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; HEIGHT: 20px; BACKGROUND-COLOR: #f7f7f7; BORDER-RIGHT-WIDTH: 1px; BORDER-RIGHT-COLOR: #c0c0c0 " size="14" maxLength=64> </font></td> </tr> <tr align="center"> <td height="30" align="right">密 码:</td> <td><INPUT name=pwshow type=password class=textbox id=pwshow22 size="14" maxLength=32 style="BORDER-TOP-WIDTH: 1px; PADDING-RIGHT: 1px; PADDING-LEFT: 1px; BORDER-LEFT-WIDTH: 1px; FONT-SIZE: 9pt; BORDER-LEFT-COLOR: #c0c0c0; BORDER-BOTTOM-WIDTH: 1px; BORDER-BOTTOM-COLOR: #c0c0c0; PADDING-BOTTOM: 1px; CURSOR: hand; COLOR: #000000; BORDER-TOP-COLOR: #c0c0c0; PADDING-TOP: 1px; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; HEIGHT: 20px; BACKGROUND-COLOR: #f7f7f7; BORDER-RIGHT-WIDTH: 1px; BORDER-RIGHT-COLOR: #c0c0c0 "></td> </tr> <tr align="center"> <td height="30"> </td> <td height="35" align="center"><a href="http://www.126.com" target="_blank"><img src="img/dl.jpg" width="44" height="20" border="0"></a> <input name="imageField" type="image" src="img/zh.jpg" width="44" height="20" border="0"></td></tr> </table></td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td> </td> </tr> <tr> <td align="center"> </td> </tr> <tr> <td> </td> </tr> </table> <table width="220" border="0" cellpadding="0" cellspacing="1" bgcolor="#dddddd"> <tr> <td height="28" background="img/menubg.jpg"><table width="85%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="47%" height="28" align="center"><strong><font color="000000">营销专线</font></strong> </td> <td width="53%" class="eng">Salenet</td> </tr> </table></td> </tr> <tr> <td height="130" align="center" valign="middle" bgcolor="#FFFFFF"><table width="210" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td height="100" align="right" background="img/kfbg.jpg"><table width="45%" border="0" align="right" cellpadding="0" cellspacing="0"> <tr> <td><span class="line20"> <strong>国内热线</strong>:<br> 0577-6200000<br> <strong>国外热线</strong>:<br> 0577-6200000<br> <strong>传真</strong>:6300000</span></td> </tr> </table></td> </tr> </table></td> </tr> </table> </td> </tr> </table> <style type="text/css"> <!-- .style20 {color: #333333} --> </style> <TABLE cellSpacing=0 cellPadding=0 width=1003 align=center background=img/footbg.jpg border=0> <TBODY> <TR> <TD width="137" height=55 rowSpan=2 align=middle class=line20> </TD> <TD class=line20 align=left width=544 rowSpan=2><%'complie-link:label-strat[$$nd_web_foot(1,640)] %><!--nd_complie_linkx_start:[$$nd_web_foot(1,640)]xx--> <div><style type="text/css"> .picsize img {max-height:510px; max-width:510px; width:expression(this.width > 510 && this.height < this.width ? 510: true); height:expression(this.height > 510 ? 510: true);} .fooootoo {width:640 px;word-break:break-all;}</style></div> <% isqy=1 biao2="[ND_sys]" if cstr(isqy)<>"1" then set rs22t=server.CreateObject("adodb.recordset") rs22t.open "select top 1 * from "&biao2&" where type='webname_settings'",newdsoft_conn_obj,1,1 else set rs22t=server.CreateObject("adodb.recordset") rs22t.open "select top 1 * from "&biao2&" where type='webname_settings_qiye'",newdsoft_conn_obj,1,1 end if wwwkeywords="" wwwbuttom="" if not rs22t.eof then sss1a=split(rs22t("data"),"|") wwwname=sss1a(0) wemail=sss1a(1) wwwkeywords=sss1a(2) wwwbuttom=sss1a(3) end if %> <table class="fooootoo" cellspacing="0" cellpadding="0" align="center" border="0"> <tbody> <tr> <td><%=wwwbuttom%> </td> </tr> </tbody> </table><!--nd_complie_linkx_end:[$$nd_web_foot(1,640)]xx--><%'complie-link:label-end[$$nd_web_foot(1,640)] %></TD> <TD class=line20 vAlign=top align=middle width=322 height=4></TD> </TR> <TR> <TD height="80" align=center vAlign=middle class=line20> </TD> </TR> </TBODY> </TABLE> </body> </html>